package product.params;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import product.type.ExerciseType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor

public class SportsAddParam implements Serializable {
    private String username;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastWorkoutDate;
    private int totalWorkouts;
    private ExerciseType exerciseType;
}
